<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>求水仙花数</title>
	</head>
	<body>
		<script>
			for(var i=100;i<1000;i++){
				var a1=i%10;
				var a2=parseInt(i/10)%10;
				var a3=parseInt(i/100);
				if(a1*a1*a1+a2*a2*a2+a3*a3*a3==i){
					document.write(i);
					document.write("<br>");
				}
			}
		</script>
	</body>
</html>